|
SPRITE ANGLE
This command will return the Angle of the specified sprite.
Return Float=SPRITE ANGLE(Sprite Number)
Sprite Number
Integer
The sprite number
The angle value determines how much the sprite is rotated, and ranges from 0 to 359
The angle value determines how much the sprite is rotated, and ranges from 0 to 359. You should specify the Sprite Number as an integer value.
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
print "sprite angle ",sprite angle(1)
do
loop
end
SPRITE Commands Menu
Index
|